<?php 
/**
 * [PHPFOX_HEADER]
 * 
 * @copyright		[PHPFOX_COPYRIGHT]
 * @author  		Raymond Benc
 * @package 		Phpfox
 * @version 		$Id: index.html.php 3992 2012-03-12 13:40:21Z Raymond_Benc $
 */
 
defined('PHPFOX') or exit('NO DICE!'); 

?>
{if count($aListings) > 0}
    {if $bIsSearch}
    <p>{$iCnt} results for <strong>{if isset($sCategoryName) && !empty($sCategoryName)}{$sCategoryName}{/if}{if isset($sCategoryName) && !empty($sCategoryName) && !empty($sSearchKeyword)} - {/if}{$sSearchKeyword}</strong></p>
    {/if}
    {if !PHPFOX_IS_AJAX}
        <br />
        <div class="clear"></div>

        <div id="marketplace_top_listing" class="marketplace_top_listing">
    {/if}
        {foreach from=$aListings item=aListing}
            {template file='marketplace.block.item.row'}
        {/foreach}
    {if !PHPFOX_IS_AJAX}
        </div>
    {/if}
    <div id="loading" style="position: relative;">
    {pager}
    </div>
    
{else}
    <div class="no_listing">
        No Listing Found
    </div>
{/if}